<?php
/* @var $this OrderController */
/* @var $model Order */
$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'订单管理'=>array($this->pre_module_url.'/orderSale/saleorder'),
	'订单管理'=>array($this->pre_module_url.'/order/admin'),
);
?>
<div class="pro_filter c_f">
	<?php $form=$this->beginWidget('CActiveForm', array(
		'action'=>Yii::app()->createUrl($this->route),
		'method'=>'get',
	)); ?>

		<label>订单号：</label>
			<?php echo $form->textField($model,'zo_id',array('class'=>'t_ipt w_100'))?>
		<label>商家名称：</label>
			<?php echo $form->textField($model,'cmpCmpName',array('class'=>'t_ipt w_100'))?>
		<label>交易状态：</label>
			<?php echo $form->dropDownList($model,'status_List',Order::model()->statusList(),array('class'=>'s_ipt w_100'))?>
		<label>交易时间：</label>
			<?php echo $form->dropDownList($model,'time_List',Order::model()->timeList(),array('class'=>'s_ipt w_100'))?>
		<?php echo CHtml::submitButton(Yii::t('adm','Search'),array('class'=>'mem_bgx mem_btn01'))?>
	<?php $this->endWidget(); ?>
</div>

<table class="list_table" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<th width="" class="bd_l">宝贝信息</th>
		<th width="8%">单价</th>
		<th width="6%">数量</th>
		<th width="8%">售后</th>
		<th width="10%">买家</th>
		<th width="13%">交易状态</th>
		<th width="14%">实付款</th>
		<th width="10%" class="bd_r">操作</th>                                                       
	</tr>
</table>

<?php   
$this->widget('zii.widgets.CListView', array(  
    'dataProvider'=>$model->search(),  
    'itemView'=>'_view',    
    'emptyText'=>'暂时没有数据',  
    'selectAll'=>array('ids[]','id[]'),  
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
    'artLink'=>array(  
        //批量删除
        array(Yii::t('adm','Delete All'),$this->pre_module_url.'/order/delete','确认删除所选择的订单信息吗！'),  
    ),  
    ));  
?>  
